// import { login } from '@/api/login' // 使用 Layout 组件
// import RightPanel from 'components/RightPanel'
import Layout from '@layout/Index'

const tableRouter = {
  path: '/table',
  component: Layout,
  name: 'Table',
  redirect: '/table/base-table',
  meta: {
    title: 'Table',
    icon: 'table'
  },
  children: [
    {
      path: 'base-table',
      component: () => import('@views/table/BaseTable'),
      name: 'BaseTable',
      meta: { title: '基础表格' }
    }
  ]
}

export default tableRouter
